package com.holly.unit.bpmn.activiti.pojo;

import com.holly.unit.core.pojo.request.BaseRequest;
import com.holly.unit.scanner.api.annotation.field.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述: 编辑节点分配用户参数封装
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/3/1 8:12
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProcessDefEditNodeUserRequest extends BaseRequest {


    @ChineseDescription("节点id")
    String nodeId;

    @ChineseDescription("用户ids,逗号分割")
    String userIds;

    @ChineseDescription("角色ids,逗号分割")
    String roleIds;

    @ChineseDescription("部门ids,逗号分割")
    String departmentIds;

    @ChineseDescription("chooseDepHeader")
    Boolean chooseDepHeader;

    @ChineseDescription("chooseSponsor")
    Boolean chooseSponsor;

    /**
     * 参数校验分组：禁用 or 启用
     */
    public @interface editNodeUser {
    }
}
